package com.stefanie.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhaoYang
 */
@Slf4j
@RestController
@RequestMapping(value = "/stefanie")
public class StefanieController {

    @GetMapping(value = "test1")
    public String stefanie() {
        String message = "Stefanie test message!";
        try {
            Thread.sleep(10000);
        } catch (InterruptedException ignored) {
        }
        log.info(System.currentTimeMillis() + message);
        return message;
    }
}
